"""
插件系统核心模块
提供插件动态加载、事件订阅、依赖注入等核心功能
"""

from .plugin_base import PluginBase
from .plugin_manager import PluginManager
from .hook_hub import HookHub
from .api_context import APIContext
from .config_loader import ConfigLoader
from .exc import (
    PluginError,
    PluginLoadError,
    PluginDependencyMissing,
    PluginConfigError,
    PluginRuntimeError
)

__all__ = [
    'PluginBase',
    'PluginManager',
    'HookHub',
    'APIContext',
    'ConfigLoader',
    'PluginError',
    'PluginLoadError',
    'PluginDependencyMissing',
    'PluginConfigError',
    'PluginRuntimeError',
]
